package pojo;

public class User {
    private String name;
    private String id;
    private String pass;


    public User() {
    }

    public User(String name, String id, String pass) {
        this.name = name;
        this.id = id;
        this.pass = pass;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return pass
     */
    public String getPass() {
        return pass;
    }

    /**
     * 设置
     * @param pass
     */
    public void setPass(String pass) {
        this.pass = pass;
    }

    public String toString() {
        return "User{name = " + name + ", id = " + id + ", pass = " + pass + "}";
    }
}
